#ifndef RENDERER_H
#define RENDERER_H

#include "octree.h"

//#include <GL/glew.h>
#include <GL/gl.h>

class Renderer
{
public:
    Renderer();

    void render_scene(Scene *scene);
    void set_lighting();
private:

    void render_octree(Octree *tree);
    void render_object(Object *obj);
    void draw_cube(Box &cube);
    void draw_sphere(Sphere *sphere);
    void draw_node(OctreeNode &node, bool solid = true, bool wireframe = true,
                   bool show_in = true, bool show_out = true, bool show_part = true);
    void draw_grid();

};

#endif // RENDERER_H
